package com.thread.thread;

/**
 * @author xuejingjing
 * @className ThreadOne
 * @description 定义一个线程，按照这个逻辑，有几个线程就需要这样定义几个，太麻烦
 * @date 2022/11/10/010 23:48
 */
public  class ThreadOne extends  Thread {
    public ThreadOne(String name) {
        super(name);
    }

    @Override
    public void run() {
        super.run();
        System.out.println("调用子线程了..."+this.currentThread().getName());
    }
}
